package com.xg.sys.service;

import com.xg.sys.entity.SysUser;

import java.util.Set;

/**
 * @Author: chenliang
 * @Date: 2019/4/28 9:40
 * @Version 1.0
 * Shiro相关
 */
public interface ShiroService {
    /**
     * 获取用户的权限
     */
    Set<String> getSysUserPerms(String userId);

    /**
     * 查询用户
     */
    SysUser getUserByToken(String token);
    /**
     * 查询用户ById
     */
    SysUser getUserById(String userId);



}
